﻿#if UNITY_EDITOR
using System;
using Ease.EaseNode.Runtime;
using Ease.EaseNode.Runtime.Param;

namespace Ease.EaseMission.Runtime.DataState
{
    public class MissionState : BaseEaseNodeDataState<BaseEaseNodeData>
    {
        public MissionState(BaseEaseNodeData data)
        {
            this.data = data;
        }

        public override event Action<BaseChangeParam> OnValueChangeEvent;

        public override void OnValueChange(BaseChangeParam param)
        {
            base.OnValueChange(param);
            OnValueChangeEvent?.Invoke(param);
        }
    }
}
#endif